﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020010C1 RID: 4289
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SceneEntityMoveCsReq : IMessage<SceneEntityMoveCsReq>, IMessage, IEquatable<SceneEntityMoveCsReq>, IDeepCloneable<SceneEntityMoveCsReq>, IBufferMessage
	{
		// Token: 0x17003637 RID: 13879
		// (get) Token: 0x0600BFB8 RID: 49080 RVA: 0x00205F6F File Offset: 0x0020416F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SceneEntityMoveCsReq> Parser
		{
			get
			{
				return SceneEntityMoveCsReq._parser;
			}
		}

		// Token: 0x17003638 RID: 13880
		// (get) Token: 0x0600BFB9 RID: 49081 RVA: 0x00205F76 File Offset: 0x00204176
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SceneEntityMoveCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003639 RID: 13881
		// (get) Token: 0x0600BFBA RID: 49082 RVA: 0x00205F88 File Offset: 0x00204188
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SceneEntityMoveCsReq.Descriptor;
			}
		}

		// Token: 0x0600BFBB RID: 49083 RVA: 0x00205F8F File Offset: 0x0020418F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SceneEntityMoveCsReq()
		{
		}

		// Token: 0x0600BFBC RID: 49084 RVA: 0x00205FA4 File Offset: 0x002041A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SceneEntityMoveCsReq(SceneEntityMoveCsReq other) : this()
		{
			this.entryId_ = other.entryId_;
			this.cLENBGIJACP_ = other.cLENBGIJACP_;
			this.entityMotionList_ = other.entityMotionList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600BFBD RID: 49085 RVA: 0x00205FF1 File Offset: 0x002041F1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SceneEntityMoveCsReq Clone()
		{
			return new SceneEntityMoveCsReq(this);
		}

		// Token: 0x1700363A RID: 13882
		// (get) Token: 0x0600BFBE RID: 49086 RVA: 0x00205FF9 File Offset: 0x002041F9
		// (set) Token: 0x0600BFBF RID: 49087 RVA: 0x00206001 File Offset: 0x00204201
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint EntryId
		{
			get
			{
				return this.entryId_;
			}
			set
			{
				this.entryId_ = value;
			}
		}

		// Token: 0x1700363B RID: 13883
		// (get) Token: 0x0600BFC0 RID: 49088 RVA: 0x0020600A File Offset: 0x0020420A
		// (set) Token: 0x0600BFC1 RID: 49089 RVA: 0x00206012 File Offset: 0x00204212
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ulong CLENBGIJACP
		{
			get
			{
				return this.cLENBGIJACP_;
			}
			set
			{
				this.cLENBGIJACP_ = value;
			}
		}

		// Token: 0x1700363C RID: 13884
		// (get) Token: 0x0600BFC2 RID: 49090 RVA: 0x0020601B File Offset: 0x0020421B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<EntityMotion> EntityMotionList
		{
			get
			{
				return this.entityMotionList_;
			}
		}

		// Token: 0x0600BFC3 RID: 49091 RVA: 0x00206023 File Offset: 0x00204223
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SceneEntityMoveCsReq);
		}

		// Token: 0x0600BFC4 RID: 49092 RVA: 0x00206034 File Offset: 0x00204234
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SceneEntityMoveCsReq other)
		{
			return other != null && (other == this || (this.EntryId == other.EntryId && this.CLENBGIJACP == other.CLENBGIJACP && this.entityMotionList_.Equals(other.entityMotionList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600BFC5 RID: 49093 RVA: 0x00206094 File Offset: 0x00204294
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.EntryId != 0U)
			{
				num ^= this.EntryId.GetHashCode();
			}
			if (this.CLENBGIJACP != 0UL)
			{
				num ^= this.CLENBGIJACP.GetHashCode();
			}
			num ^= this.entityMotionList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600BFC6 RID: 49094 RVA: 0x002060FA File Offset: 0x002042FA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600BFC7 RID: 49095 RVA: 0x00206102 File Offset: 0x00204302
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600BFC8 RID: 49096 RVA: 0x0020610C File Offset: 0x0020430C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.EntryId != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.EntryId);
			}
			this.entityMotionList_.WriteTo(ref output, SceneEntityMoveCsReq._repeated_entityMotionList_codec);
			if (this.CLENBGIJACP != 0UL)
			{
				output.WriteRawTag(120);
				output.WriteUInt64(this.CLENBGIJACP);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600BFC9 RID: 49097 RVA: 0x00206178 File Offset: 0x00204378
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.EntryId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.EntryId);
			}
			if (this.CLENBGIJACP != 0UL)
			{
				num += 1 + CodedOutputStream.ComputeUInt64Size(this.CLENBGIJACP);
			}
			num += this.entityMotionList_.CalculateSize(SceneEntityMoveCsReq._repeated_entityMotionList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600BFCA RID: 49098 RVA: 0x002061E4 File Offset: 0x002043E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SceneEntityMoveCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.EntryId != 0U)
			{
				this.EntryId = other.EntryId;
			}
			if (other.CLENBGIJACP != 0UL)
			{
				this.CLENBGIJACP = other.CLENBGIJACP;
			}
			this.entityMotionList_.Add(other.entityMotionList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600BFCB RID: 49099 RVA: 0x00206245 File Offset: 0x00204445
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600BFCC RID: 49100 RVA: 0x00206250 File Offset: 0x00204450
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 8U)
				{
					if (num != 114U)
					{
						if (num != 120U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.CLENBGIJACP = input.ReadUInt64();
						}
					}
					else
					{
						this.entityMotionList_.AddEntriesFrom(ref input, SceneEntityMoveCsReq._repeated_entityMotionList_codec);
					}
				}
				else
				{
					this.EntryId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04004D45 RID: 19781
		private static readonly MessageParser<SceneEntityMoveCsReq> _parser = new MessageParser<SceneEntityMoveCsReq>(() => new SceneEntityMoveCsReq());

		// Token: 0x04004D46 RID: 19782
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004D47 RID: 19783
		public const int EntryIdFieldNumber = 1;

		// Token: 0x04004D48 RID: 19784
		private uint entryId_;

		// Token: 0x04004D49 RID: 19785
		public const int CLENBGIJACPFieldNumber = 15;

		// Token: 0x04004D4A RID: 19786
		private ulong cLENBGIJACP_;

		// Token: 0x04004D4B RID: 19787
		public const int EntityMotionListFieldNumber = 14;

		// Token: 0x04004D4C RID: 19788
		private static readonly FieldCodec<EntityMotion> _repeated_entityMotionList_codec = FieldCodec.ForMessage<EntityMotion>(114U, EntityMotion.Parser);

		// Token: 0x04004D4D RID: 19789
		private readonly RepeatedField<EntityMotion> entityMotionList_ = new RepeatedField<EntityMotion>();
	}
}
